/*
 * Copyright 2008-2009 Aying.Net with Fuchun. 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.aying.html;


/**
 * 包含基本 <code>HTML</code> 值作为常量的工具类。
 * 
 * @author  Fuchun
 * @version 1.0, 2009-6-4
 */
public class HtmlConstants {
    
    /**
     * 用于表示查找 <code>script</code> 标签的正则表达式。
     */
    public static final String REGEX_SCRIPT = "<script[^>]*>([\\S\\s]*?)<\\/script>";
    
    /**
     * 表示 <code>HTML</code> 标签的起始标签的起始符。
     */
    public static final String TAG_START = "<";
    
    /**
     * 表示 <code>HTML</code> 标签的结束标签的起始符。
     */
    public static final String TAG_END_START = "</";
    
    /**
     * 表示 <code>HTML</code> 标签的结束符。
     */
    public static final String TAG_END = ">";
    
    /**
     * 表示 <code>HTML</code> 标签的属性间的空白字符。
     */
    public static final String WHITESPACE = " ";
}
